<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>透视图</title>
    <style type="text/css">
        body {
            perspective: 800px;
            /* perspective-origin:center center; *//* 默认 */
        }
        
        .wrapper {
            height: 260px;
            border: 1px solid blue;
            margin: 50px;
        }
        
        .wrapper>div {
            float: left;
            width: 300px;
            height: 200px;
            margin: 30px 0 30px 30px;
            background: url(fanwei.jpeg) no-repeat center/cover;
        }
        
        .wrapper:hover>div {
            transform: rotateY(-45deg);
        }
    </style>
</head>

<body>

    <div class="wrapper">
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
    </div>

</body>

</html>